package com.itheima.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 *
 * @author codermao
 * @date 2023/11/8 16:30
 */
@RestController
@RequestMapping("/books")
public class BookController {
    @GetMapping
    public Object get(){
        System.out.println("controller get() 执行了");
        return "get";
    }
}
